<div class="logo" onclick="location='/'" title="网站首页">网站首页</div>
<div class="welcome">
  <?php
if($uid)
{
	echo '欢迎您：'. $username;
	echo " <a href='../users/index.php'>会员中心</a>";
	echo " <a href='myask.php'>我的问题</a>";
	echo '  <a href="../users/index_do.php?fmdo=login&dopost=exit">退出</a>';
}
else
{
	echo '您好，请您先 <a href="../users/login.php?gourl=../ask/">登陆</a> 或者 <a href="../users/reg.php">注册</a>';
}
?>
</div>